import request from "@/utils/request";

// 查询企业运营列表
export function listComOperations(query) {
  return request({
    url: "/basic-api/company/comOperations/com/list",
    method: "get",
    params: query,
  });
}

// 查询企业运营详细
export function getComOperations(id) {
  return request({
    url: "/basic-api/company/comOperations/com/" + id,
    method: "get",
  });
}

// 新增企业运营
export function addComOperations(data) {
  return request({
    url: "/basic-api/company/comOperations/com",
    method: "post",
    data: data,
  });
}

// 修改企业运营
export function updateComOperations(data) {
  return request({
    url: "/basic-api/company/comOperations/com",
    method: "put",
    data: data,
  });
}

// 删除企业运营
export function delComOperations(id) {
  return request({
    url: "/basic-api/company/comOperations/com/" + id,
    method: "delete",
  });
}
